Average-case analysis of a greedy algorithm for the 0/1 knapsack problem
نویسندگان
چکیده
We consider the average-case performance of a well-known approximation algorithm for the 0/1 knapsack problem, the Decreasing Density Greedy (DDG) algorithm. Let Un = {u1, . . . , un} be a set of n items, with each item ui having a size si and a profit pi, and Kn be the capacity of the knapsack. Given an instance of the 0/1 knapsack problem, let PL denote the total profit of an optimal solution of the linear version of the problem (i.e., a fraction of an item can be packed in the knapsack) and PDDG denote the total profit of the solution obtained by the DDG algorithm. Assuming that Un is a random sample from the uniform distribution over (0, 1]2 and Kn = σn for some constant 0 < σ < 1/2, we show that √ n(PL − PDDG) converges in distribution.
منابع مشابه
Worst-case analysis of greedy algorithms for the unbounded knapsack, subset-sum and partition problems
We present on O(n log n) greedy algorithm with a worst-case performance ratio > 4 for the unbounded knapsack problem, an O(n log n) greedy algorithm with a worst-case performance ratio of ~ for the subset-sum problem, and an O(n log n) greedy algorithm with a worst-case performance ratio of ~for the partition problem. These greedy algorithms, in the sense of worst-case performance, are better t...
متن کاملAverage-Case Performance of Rollout Algorithms for Knapsack Problems
Rollout algorithms have demonstrated excellent performance on a variety of dynamic and discrete optimization problems. Interpreted as an approximate dynamic programming algorithm, a rollout algorithm estimates the value-to-go at each decision stage by simulating future events while following a heuristic policy, referred to as the base policy. While in many cases rollout algorithms are guarantee...
متن کاملOn the Average Behaviour of Greedy Algorithms for the Knapsack Problem
We study the average behaviour of the well-known greedy algorithms for the one-dimensional knapsack problem with Boolean variables when the number of variables n tends to innnity. It is supposed that the right-hand side b of the constraint depends linearly on n, i.e. b = n. It is shown that if > 1 2 ? t 3 then the primal and the dual greedy algorithms have an asymptotical tolerance t.
متن کاملAverage performance of greedy heuristics for the integer knapsack problem
This paper derives a lower bound on the average performance of a total-value greedy heuristic for the integer knapsack problem. This heuristic selects items in order of their maximum possible contribution to the solution value at each stage. We show that, as for the worst-case bound, the average performance bound for the total-value heuristic dominates the corresponding bound for the density-or...
متن کاملA successive approximation algorithm for the multiple knapsack problem
It is well-known that the multiple knapsack problem is NP-hard, and does not admit an FPTAS even for the case of two identical knapsacks. Whereas the 0-1 knapsack problem with only one knapsack has been intensively studied, and some effective exact or approximation algorithms exist. A natural approach for the multiple knapsack problem is to pack the knapsacks successively by using an effective ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Oper. Res. Lett.
دوره 31 شماره
صفحات -
تاریخ انتشار 2003